package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallSupplierShopDao;
import com.appkubes.mall.core.entity.MallSupplierShop;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallSupplierShopService extends AbstractBaseService<BaseMallSupplierShopDao, MallSupplierShop> {

    MallSupplierShop getOneByEntity(MallSupplierShop entity);

    List<MallSupplierShop> selectListByEntity(MallSupplierShop entity);

    IPage<MallSupplierShop> selectPageByEntity(IPage<MallSupplierShop> page);
    IPage<MallSupplierShop> selectPageByEntity(PageVO pageVO);

    IPage<MallSupplierShop> selectPageByEntity(MallSupplierShop entity, IPage<MallSupplierShop> page);
    IPage<MallSupplierShop> selectPageByEntity(MallSupplierShop entity, PageVO pageVO);

    IPage<MallSupplierShop> selectPageByEntity(MallSupplierShop entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallSupplierShop entity);
}
